<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AI美国内战模拟器</title>
    <link rel="stylesheet" href="css/style.css">
    <link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
</head>
<body>
    <div class="container">
        <header>
            <h1><i class="fas fa-flag-usa"></i> AI美国内战模拟器</h1>
            <div class="controls">
                <button id="nextTurnBtn" class="btn btn-primary">
                    <i class="fas fa-forward"></i> 下一回合
                </button>
                <button id="resetBtn" class="btn btn-secondary">
                    <i class="fas fa-redo"></i> 重置
                </button>
                <span class="turn-counter">回合: <span id="turnCounter">0</span></span>
            </div>
        </header>

        <main>
            <div class="map-container">
                <h2>美国地图</h2>
                <div id="usMap" class="us-map">
                    <!-- 州将通过JavaScript动态添加 -->
                </div>
            </div>

            <div class="sidebar">
                <div class="logs-container">
                    <h3>回合日志</h3>
                    <div id="logs" class="logs"></div>
                </div>
                
                <div class="state-info" id="stateInfo" style="display: none;">
                    <h3>州详情</h3>
                    <div id="stateDetails"></div>
                </div>
            </div>
        </main>
    </div>

    <script src="js/app.js"></script>
</body>
</html>
